package com.woniu.adminservice.feignclient;

import com.woniu.adminservice.dto.AuctionDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * Auther: huangjing  <br/>
 * Date: 2020/3/24$:15:36$  <br/>
 * Description:
 */
@FeignClient("goodsservice")
public interface GoodsInfoFeign {
    @GetMapping("/auction/list")
    public List<AuctionDTO> list();
    @GetMapping("/auction/activeList")
    List activeList();
    @GetMapping("/goods/list")
    List goodsInfoList();
}